import glob
import os
import shutil
import sys


p = os.getcwd()

print("p",p)

# print("sys.path",dir(sys))

cur_dir = os.getcwd()
test_file = os.path.join(cur_dir, "test.txt")
test2_file = os.path.join(cur_dir, "test2.txt")
shutil.copyfile(test_file,test2_file)

print(glob.glob("*.txt"))

import reprlib
# reprlib.repr 默认会限制输出的长度，可通过修改 maxset 参数来打印更完整的内容
r = reprlib.Repr()
r.maxset = 100  # 可根据实际情况调整这个值，确保能打印完全
print(r.repr(set('supercalifragilisticexpialidocious')))

import textwrap

doc  = """The wrap() method is just like fill() except that it returns a list of strings instead of one big string with newlines to separate the wrapped lines."""

print(textwrap.fill(doc, width=20))